package com.roc.steelend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.node.BigIntegerNode;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.sql.Date;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "account")
public class Account {

    @TableId(type = IdType.INPUT)
    private BigInteger accountId;
    private Integer employeeId;
    private Integer payTakeId;
    private Integer smallAccountId;
    private Timestamp operateTime;
    private Date accountTime;
    private BigDecimal money;
    private String who;
    private String remark;
    private Integer way;


    @TableField(exist = false)
    private Employee employee;
    @TableField(exist = false)
    private PayTake payTake;
    @TableField(exist = false)
    private SmallAccount smallAccount;


}
